package com.example.fashionshoes.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.fashionshoes.pojo.po.Coupon;
import com.example.fashionshoes.pojo.po.UserCoupon;

import java.util.List;

public interface UserCouponService extends IService<UserCoupon> {
    /**
     * 获取仅指定分类或指定商品可用的优惠劵
     *
     * @return 优惠劵集合
     */
    List<Coupon> getLimitCoupon(Integer userId, Integer goodsId);
}
